#include "IO.h"


void IO_init(void)
{
	ps_relay = ((S_RELAY*)&PORTA);
	PORTA = 0x00;// reset Relay state
    DDRA = 0xFF;

    ps_io = ((S_IO*)&PORTC);
    PORTC = 0x00; // reset io state
    DDRC = 0x0F;

}

void IO_update(void)
{
	//TODO  update IOs
}
